class b {
    constructor() {
        return new Promise((resolve, reject) => {
            require(["jquery"], function($) {
                console.log($);
                resolve($);
            });
        });
    }
}

define(function() {
    return new b();
});